Generating a Discussion Group in a Social Network Based on Similar Source Materials

ABSTRACT

The present invention includes a system and method for generating a discussion group based on different electronic images. A mixed media reality database receives MMR objects that correspond to source material and indexes the MMR objects. A content management engine generates a cluster that includes MMR objects based on a similarity of source material. An MMR engine receives an electronic image from a user device, performs a visual search and identifies an MMR object that is associated with the electronic image. A social network application identifies a discussion group associated with the cluster that includes the MMR object and provides the user device with access to the discussion group.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No. 13/192,458, entitled “Generating a Conversation in a Social Network Based on Visual Search Results,” filed Jul. 27, 2011 the entirety of which is herein incorporated by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The specification relates to a system and method for generating a conversation in a social network based on visual search results. In particular, the specification relates to indexing MMR objects, receiving an image from a user, matching the image to an MMR object and generating a conversation based on the MMR object.

2. Description of the Background Art

There currently exists a gap between different types of media. People still use print media for things such as textbooks and class notes. However, much of the discussion of educational materials takes place electronically over email, texting, posting or on electronic blackboard systems.

One attempt by the prior art to solve this problem is to associate paper media with an electronic version. If the user wants to collaborate with other users regarding an activity related to the paper media, the user can email the electronic document to other students or post something on a social network. This method, however, is cumbersome and can be both over-inclusive because most of the user's friends will find the post irrelevant and under-inclusive because the user is not friends with all the students for a particular class.

SUMMARY OF THE INVENTION

The present invention overcomes the deficiencies of the prior art with a system for generating a conversation in a social network that corresponds to a mixed media reality (MMR) object based on visual search results. A conversation includes multiple discussion threads about the same source material.

The user devices include an access module for capturing images, transmitting the images to an MMR server and receiving a user interface from a social network server. An MMR server includes an MMR database for storing MMR objects and an MMR engine for receiving images from user devices and retrieving MMR objects that correspond to the received image. The MMR object corresponds to source material, such as a textbook. The content management server includes a content management engine for generating metadata that is indexed in the metadata database. In one embodiment, the content management engine generates metadata based on information received from a social network server, such as comments relating to a conversation that corresponds to an MMR object. In another embodiment, the content management engine generates clusters that include MMR objects with similar source material, which is determined based on the metadata.

The social network server includes a social network application and storage. Once the MMR engine identifies the MMR object that corresponds to an image, the MMR engine transmits the MMR object to the social network application. The social network application includes a conversation engine that determines whether a conversation corresponding to the MMR object already exists. If yes, then the conversation engine provides the user with access to the conversation. If not, the conversation engine generates a conversation. A user interface engine generates a user interface that includes an option for the user to join the conversation. In one embodiment, a statistics manager generates statistics about the conversation that is displayed as part of the user interface.

In another embodiment, the conversation engine generates a discussion group based on the cluster or proximity information. The conversation engine receives the MMR object and proximity information about at least one of a time and a location that the image was captured. The conversation engine determines whether a discussion group relating to the cluster or proximity information already exists. If not, the conversation engine generates a discussion group. If the discussion group does exist, the conversation engine grants the user access to the discussion group.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention is illustrated by way of example, and not by way of limitation in the figures of the accompanying drawings in which like reference numerals are used to refer to similar elements.

FIG. 1 is a high-level block diagram illustrating one embodiment of a system for generating a conversation based on visual search results.

FIG. 2A-2B are block diagrams illustrating different embodiments of an MMR object.

FIG. 3 is a block diagram illustrating one embodiment of a MMR engine in more detail.

FIGS. 4A-4D are graphic representations of different approaches for performing visual search.

FIG. 5 is a block diagram of one embodiment of the social network application in more detail.

FIGS. 6A-6F are graphic representations of embodiments of user interfaces that display the conversation or a discussion group.

FIG. 7 is a flow diagram of one embodiment of a method for generating a conversation.

FIG. 8 is a flow diagram of one embodiment of a method for generating a user interface and metadata.

FIG. 9A are flow diagram of different embodiments of a method for generating a cluster.

FIG. 10 is a flow diagram of one embodiment of a method for generating a discussion group based on a cluster group.

FIG. 11 is a flow diagram of one embodiment of a method for generating a discussion group based on proximity information.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

A system and method for generating a conversation in a social network based on visual search results are described below. In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the invention. It will be apparent, however, to one skilled in the art that the embodiments can be practiced without these specific details. In other instances, structures and devices are shown in block diagram form in order to avoid obscuring the invention. For example, the invention is described in one embodiment below with reference to user devices such as a smart phone and particular software and hardware. However, the description applies to any type of computing device that can receive data and commands, and any peripheral devices providing services.

Reference in the specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment.

Some portions of the detailed descriptions that follow are presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self consistent sequence of steps leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers or the like.

It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussion, it is appreciated that throughout the description, discussions utilizing terms such as “processing” or “computing” or “calculating” or “determining” or “displaying” or the like, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.

The invention also relates to an apparatus for performing the operations herein. This apparatus may be specially constructed for the required purposes, or it may comprise a general-purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer readable storage medium, such as, but is not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, and magnetic disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, flash memories including USB keys with non-volatile memory or any type of media suitable for storing electronic instructions, each coupled to a computer system bus.

Some embodiments can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment containing both hardware and software elements. A preferred embodiment is implemented in software, which includes but is not limited to firmware, resident software, microcode, etc.

Furthermore, some embodiments can take the form of a computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system. For the purposes of this invention, a computer-usable or computer readable medium can be any apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.

A data processing system suitable for storing and/or executing program code will include at least one processor coupled directly or indirectly to memory elements through a system bus. The memory elements can include local memory employed during actual execution of the program code, bulk storage, and cache memories which provide temporary storage of at least some program code in order to reduce the number of times code must be retrieved from bulk storage during execution. Input/output or I/O devices (including but not limited to keyboards, displays, pointing devices, etc.) can be coupled to the system either directly or through intervening I/O controllers.

Network adapters may also be coupled to the system to enable the data processing system to become coupled to other data processing systems or remote printers or storage devices through intervening private or public networks. Modems, cable modem and Ethernet cards are just a few of the currently available types of network adapters.

Finally, the algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various general-purpose systems may be used with programs in accordance with the teachings herein, or it may prove convenient to construct more specialized apparatus to perform the required method steps. The required structure for a variety of these systems will appear from the description below. In addition, the specification is not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the various embodiments as described herein.

System Overview

FIG. 1 illustrates a block diagram of a system 100 for generating a conversation in a social network based on visual search results according to one embodiment of the invention. The system 100 includes a plurality of user devices 115 a-115 n that are accessed by users 125 a-125 n, a mixed media reality (MMR) server 104, a content management server 150 and a social network server 101 that are communicatively coupled to the network 107. Persons of ordinary skill in the art will recognize that the engines and storage in one server could also be combined with another server. In FIG. 1 and the remaining figures, a letter after a reference number, such as “115 a” is a reference to the element having that particular reference number. A reference number in the text without a following letter, such as “115,” is a general reference to any or all instances of the element bearing that reference number.

The network 107 is a conventional type, wired or wireless, and may have any number of configurations such as a star configuration, token ring configuration or other configurations known to those skilled in the art. Furthermore, the network 107 may comprise a local area network (LAN), a wide area network (WAN) (e.g., the Internet), and/or any other interconnected data path across which multiple devices may communicate. In yet another embodiment, the network 107 may be a peer-to-peer network. The network 107 may also be coupled to or includes portions of a telecommunications network for sending data in a variety of different communication protocols. In yet another embodiment, the network 107 includes Bluetooth communication networks or a cellular communications network for sending and receiving data such as via short messaging service (SMS), multimedia messaging service (MMS), hypertext transfer protocol (HTTP), direct data connection, WAP, email, etc. While only one network 107 is coupled to the user devices 115 a, 115 n, the MMR server 104, the content management server 150 and the social network server 101, in practice any number of networks 107 can be connected to the entities.

The user device 115 a is any computing device that includes an access module 113, a memory and a processor, such as a personal computer, a laptop, a smartphone, a cellular phone, a personal digital assistant (PDA), etc. The user device 115 a is adapted to send and receive information such as images, time, location, etc. The user device 115 a is connected to the network 107 via signal line 132. The user 125 a interacts with the user device 115 a via signal line 110. Although only two user devices 115 a, 115 n are illustrated, persons of ordinary skill in the art will recognize that any number of user devices 115 n are available to any number of users 125 n.

The access module 113, which includes software for capturing an image and transmitting the image to the MMR server 104 for performing a visual search. Once the MMR server 104 transmits the MMR object to the social network server 101 and the social network server 101 generates a user interface, the user interface is transmitted to the access module 113 for display on the user device 115 a. In one embodiment, the access module 113 is a self-contained application for performing the capturing and displaying. In another embodiment, the access module 113 works in conjunction with a browser to capture the image and display the user interface.

The MMR server 104 includes an MMR engine 103 and an MMR database 105. The MMR engine 103 includes software for performing a visual search with information (for e.g., an image) received from the user device 115 to identify an MMR object from the MMR database 105. MMR objects are electronic versions of source material, such as a book, an educational supplement, a poster, a class, a professor, an educational institution and a study group. The MMR server 104 is coupled to the network 107 via signal line 134. Although only one MMR server 104 is shown, persons of ordinary skill in the art will recognize that multiple MMR servers 104 may be present.

The social network server 101 includes a social network application 109 and storage 141. A social network is any type of social structure where the users are connected by a common feature. The common feature includes, work, school, friendship, family, an interest, etc. The social network application 109 receives information from the MMR server 104 and the content management server 150, generates a discussion thread, identifies conversations related to the received information, generates user interfaces and transmits the user interfaces to the user devices 115 for display. The storage 141 stores data associated with the social network such as user information, relationships between users as a social graph, discussion threads, conversations between users, etc. The social network server 101 is coupled to the network 107 via signal line 138. Although only one social network server 101 is shown, persons of ordinary skill in the art will recognize that multiple social network servers 101 may be present.

The content management server 150 includes a content management engine 155 and a metadata database 160. The content management server 150 is coupled with the network 107 via signal line 136. Although only one content management server 150 is shown, persons of ordinary skill in the art will recognize that multiple content management servers 150 may be present.

The metadata database 160 stores and indexes metadata associated with the MMR objects stored in the MMR database 105. The metadata is any data that provides information about one or more aspects of an MMR object. For example, the metadata of an MMR object that represents a mathematics book: “Probability and Statistics for Engineers” are tags such as “probability,” “bayesian,” “belief networks,” “statistics,” author, title, publisher, links to additional material associated with the book, number of pages in the book, price, book stores from where the book can be purchased, comments and discussions about the book (such as a discussion thread on a social network, a book review website, etc.), users who posted the comments and discussions, etc. In one embodiment, the metadata database 160 is automatically populates in an offline process. In another embodiment, the metadata database 160 is updated after receiving metadata from the social network server 101 about user interactions with the MMR object (such as comments, links, PDFs, chats, user connections, etc.).

In one embodiment, the content management engine 155 includes software for generating a cluster group of MMR objects based on the relatedness of the MMR objects, i.e. MMR objects with similar source material such as a text book, a poster and class notes that relate to the same class. In one embodiment, the content management engine 155 is a set of instructions executable by a processor to provide the functionality described below for generating clusters of MMR objects. In another embodiment, the content management engine 155 is stored in a memory and is accessible and executable by the processor.

The content management engine 155 generates clusters of MMR objects by applying a similarity vector and based on the relatedness of the metadata and the users that are associated with the MMR object (including whether they are actively using the MMR objects). In one embodiment, the similarity vector is based on k-means, agglomerative clustering, fuzzy clustering or formal concept analysis. In one embodiment, the content management engine 155 generates the clusters as part of the process of indexing metadata for the metadata database 160. In another embodiment, the content management engine 155 generates clusters responsive to receiving an image from a user device 115.

For example, the content management engine 155 determines that the following items are related source materials: a textbook on “Probability and Statistics for Engineers”; a handout provided by a professor with specific problems on Bayesian nets; and a similar book “Fifty Challenging Problems in Probability with Solutions.” As a result, three different users could become part of a group based on each one capturing an image of one of those items.

The content management engine 155 also includes software for updating the metadata database 160. In one embodiment, the content management engine 155 receives and indexes content from the social network server 101 to determine whether they are related to an MMR object. Content from the social network server 101 includes, for example, a status of the MMR objects so that the MMR engine 103 generates active clusters and discussion content such as comments, links, PDFs, chats and user connections. The content management engine 155 then indexes the content along with other metadata.

In another embodiment, the content management engine 155 dynamically updates the metadata by retrieving information relevant to an MMR object from a third-party server (not shown). For example, the content management engine 155 uses existing tags of an MMR object from the metadata database 160 to query a search server and retrieve additional information relevant to the MMR object. In another example, the content management engine 155 receives metadata from a user via the social network server 101, such as keywords associated with an MMR object that are submitted by a user. The content management engine 155 then updates the metadata database 160 with the additional information. The content management engine 155 updates the metadata database 160 periodically, for example, automatically every day, every hour or responsive to receiving a request for metadata from the MMR engine 103.

MMR Object 200

FIG. 2A illustrates an example of an MMR object 200 according to one embodiment. The MMR object 200 includes a representation 202 of a portion of a source material 218, an action or second media 204, an index or hotspot 206 and an electronic representation 208 of the source material 218. All this information is indexed with the MMR object 200 and stored by the MMR database 105, which is described in greater detail below with reference to FIG. 3. In this illustrated example, the source material 218 is a book. A person with ordinary skill in the art would recognize that the source material 218 is any document, such as one or more pages of a book, a magazine, news articles, pages printed from a website, hand-written notes, notes on a white-board, a memo having any number of pages (for example, work related, personal letter, etc.), a product label, a product specification, a product/service brochure or advertising materials (for example, an automobile, a cleaning service, etc.), a poster or pages printed from any processing system (for example, a desktop, a laptop, a smart phone, etc.).

The representation 202 of a portion of the source material 218 is an image, vectors, pixels, text, codes or any other format known to a person with ordinary skill in the art that is usable for pattern matching. The representation 202 also identifies at least one location within the source material 218. In one embodiment, the representation 202 is a text fingerprint as shown in FIG. 2. The text fingerprint 202, for example, is captured automatically during printing or scanning the source material 218. A person with ordinary skill in the art would recognize that the representation 202 represents a patch of text, a single word if it is a unique instance in the source material 218, a portion of an image, a unique attribute, the entire source material 218, or any other matchable portion of the document.

The action or second media 204 is a digital file or a data structure of any type. In one embodiment, the action or second media 204 is one more commands to be executed or text to be presented. In another embodiment, the action or second media type 204 is a text file, an image file, an audio file, a video file, an application file (for example, a spreadsheet or word processing document), a PDF file, metadata, etc., associated with the representation 202. In yet another embodiment, the action or second media type 204 is a data structure or file referencing or including multiple different media types and multiple files of the same media type.

The MMR object 200 also includes an electronic representation 208 of the source material 218. In one embodiment, the electronic representation 208 is used for displaying on the user device 115. In another embodiment, the electronic representation 208 is used to determine the position of the hotspot 206 within the document. In this illustrated example, the electronic representation 208 is an electronic version of the entire book, a page within the book, the cover page of the book, an image of the source material such as an thumbnail image, etc.

The index or hotspot 206 is a link between the representation 202, the action or second media 204 and the electronic representation 208. The hotspot 206 associates the representation 202 and the second media 204. In one embodiment, the index or hotspot 206 includes position information such as the x-y coordinates within the source material 218. The hotspot 206 is a point, an area or even the entire source material 218. In one embodiment, the hotspot 206 is a data structure with a pointer to the representation 202, a pointer to the second media 204 and a location within the source material 218. In one embodiment, the MMR object 200 has multiple hotspots, and in this embodiment, the data structure creates links between multiple representations, multiple second media files and multiple locations within the source material 218.

An example use of the MMR object 200 as illustrated in FIG. 2A is as follows. A user points a mobile device 102 such as a smart phone at a source material 218 and captures an image. Subsequently, the MMR engine 103 performs a visual search by analyzing the captured image and performing pattern matching to determine whether an associated MMR object 200 exists in the MMR database 105. If a match is found, the electronic representation 208 of the MMR object 200 is retrieved and displayed on the mobile device 102.

FIG. 2B illustrates another example use of an MMR object 250. A user points the mobile device 102 at a computer monitor displaying a source material 258 and captures an image. The MMR engine 103 performs a visual search using the captured image to identify a corresponding MMR object 250 from the MMR database 105. Similar to the example mentioned above, the MMR object 250 includes a representation 252 of a portion of the source material 258, an action or second media 254, an index or hotspot 256 and an electronic representation 258 of the source material 258. The MMR engine 103 performs the action 254 and displays the electronic representation 258 on the mobile device 102.

MMR Engine 103

FIG. 3 is a block diagram of the MMR server 104 that includes the MMR engine 103, a memory 337, a processor 335, a communication unit 340 and the MMR database 105.

The processor 335 comprises an arithmetic logic unit, a microprocessor, a general purpose controller or some other processor array to perform computations and provide electronic display signals to a display device. The processor 335 is coupled to the bus 320 for communication with the other components via signal line 356. Processor 335 processes data signals and may comprise various computing architectures including a complex instruction set computer (CISC) architecture, a reduced instruction set computer (RISC) architecture, or an architecture implementing a combination of instruction sets. Although only a single processor is shown in FIG. 3, multiple processors may be included. The processing capability may be limited to supporting the display of images and the capture and transmission of images. The processing capability might be enough to perform more complex tasks, including various types of feature extraction and sampling. It will be obvious to one skilled in the art that other processors, operating systems, sensors, displays and physical configurations are possible.

The memory 337 stores instructions and/or data that may be executed by processor 335. The memory 337 is coupled to the bus 320 for communication with the other components via signal line 354. The instructions and/or data may comprise code for performing any and/or all of the techniques described herein. The memory 337 may be a dynamic random access memory (DRAM) device, a static random access memory (SRAM) device, flash memory or some other memory device known in the art. In one embodiment, the memory 337 also includes a non-volatile memory or similar permanent storage device and media such as a hard disk drive, a floppy disk drive, a CD-ROM device, a DVD-ROM device, a DVD-RAM device, a DVD-RW device, a flash memory device, or some other mass storage device known in the art for storing information on a more permanent basis.

The communication unit 340 receives data such as images from the user device 115 and transmits requests to the social network server 101, for example a request for discussions related to an MMR object identified by the MMR engine 103 corresponding to a received image. The communication unit 340 also receives information from the social network server 101. The communication unit 340 also transmits feedback to the user device 115, for example, feedback that the received image is not of good quality. The communication unit 340 is coupled to the bus 320 via signal line 358. In one embodiment, the communication unit 340 includes a port for direct physical connection to the user device 115, the social network server 101 or to another communication channel. For example, the communication unit 340 includes a USB, SD, CAT-5 or similar port for wired communication with the user device 115. In another embodiment, the communication unit 340 includes a wireless transceiver for exchanging data with the user device 115, the social network server 101 or any other communication channel using one or more wireless communication methods, such as IEEE 802.11, IEEE 802.16, BLUETOOTH® or another suitable wireless communication method.

In yet another embodiment, the communication unit 340 includes a cellular communications transceiver for sending and receiving data over a cellular communications network such as via short messaging service (SMS), multimedia messaging service (MMS), hypertext transfer protocol (HTTP), direct data connection, WAP, e-mail or another suitable type of electronic communication. In still another embodiment, the communication unit 340 includes a wired port and a wireless transceiver. The communication unit 340 also provides other conventional connections to the network for distribution of files and/or media objects using standard network protocols such as TCP/IP, HTTP, HTTPS and SMTP as will be understood to those skilled in the art.

The MMR database 105 includes the MMR objects. In one embodiment, the MMR objects are indexed by the MMR database 105 according to the source material, the electronic representation of the source document and an action or second media, such as a link. The MMR database 105 indexes the MMR objects using, for example, a unique object ID, a page ID, an x-y location of a patch of text, a hotspot or an image within a document, the width and height of a rectangular region within a document, features such as two-dimensional arrangements of text and images within the document, actions, clusters generated by the MMR engine 103, etc. In one embodiment, the MMR database 105 also stores relevant information about each MMR object, for example, font styles and sizes of a document, print resolution etc. The MMR database 105 is described in further detail in U.S. patent application Ser. No. 11/461,017, titled “System And Methods For Creation And Use Of A Mixed Media Environment,” filed Jul. 31, 2006; U.S. patent application Ser. No. 11/461,279, titled “Method And System For Image Matching In A Mixed Media Environment,” filed Jul. 31, 2006; U.S. patent application Ser. No. 11/461,286, titled “Method And System For Document Fingerprinting Matching In A Mixed Media Environment,” filed Jul. 31, 2006; U.S. patent application Ser. No. 11/461,294, titled “Method And System For Position-Based Image Matching In A Mixed Media Environment,” filed Jul. 31, 2006; U.S. patent application Ser. No. 11/461,300, titled “Method And System For Multi-Tier Image Matching In A Mixed Media Environment,” filed Jul. 31, 2006; U.S. patent application Ser. No. 11/461,147, titled “Data Organization and Access for Mixed Media Document System,” filed Jul. 31, 2006; U.S. patent application Ser. No. 11/461,164, titled “Database for Mixed Media Document System,” filed Jul. 31, 2006; U.S. patent application Ser. No. 11/461,109, titled “Searching Media Content For Objects Specified Using Identifiers,” filed Jul. 31, 2006; U.S. patent application Ser. No. 12/059,583, titled “Invisible Junction Feature Recognition For Document Security Or Annotation,” filed Mar. 31, 2008; U.S. patent application Ser. No. 12/121,275, titled “Web-Based Content Detection In Images, Extraction And Recognition,” filed May 15, 2008; U.S. patent application Ser. No. 11/776,510, titled “Invisible Junction Features For Patch Recognition,” filed Jul. 11, 2007; U.S. patent application Ser. No. 11/776,520, titled “Information Retrieval Using Invisible Junctions and Geometric Constraints,” filed Jul. 11, 2007; U.S. patent application Ser. No. 11/776,530, titled “Recognition And Tracking Using Invisible Junctions,” filed Jul. 11, 2007; and U.S. patent application Ser. No. 11/777,142, titled “Retrieving Documents By Converting Them to Synthetic Text,” filed Jul. 12, 2007; and U.S. patent application Ser. No. 11/624,466, titled “Synthetic Image and Video Generation From Ground Truth Data,” filed Jan. 18, 2007; which are incorporated by reference in their entirety.

Still referring to FIG. 3, the MMR engine 103 is shown in more detail. The MMR engine 103 includes a quality assessment module 302, an image processing module 304, a feature extraction module 306, a retrieval module 308 and an action module 310.

The quality assessment module 302 is software and routines for receiving an image and assessing the quality of the image. In one embodiment, the quality assessment module 302 is a set of instructions executable by the processor 335 to provide the functionality described below for receiving an image and assessing the quality of the image. In another embodiment, the quality assessment module 302 is stored in the memory 337 and is accessible and executable by the processor 335. In either embodiment, the quality assessment module 302 is adapted for cooperation and communication with the processor 335, the communication unit 340, the image processing module 304, the feature extraction module 306 and other components of the MMR server 104 via signal line 342.

The quality assessment module 302 receives an image from a user device 115 via the communication unit 340. The received image contains any matchable portion of a source document, such as a patch of text, a single word, non-text patch (for example, a barcode, a photo, etc.), an entire source document, etc. In one embodiment, the received image is captured by a user 125 using the user device 115. The quality assessment module 302 makes a preliminary judgment about the content of the captured image based on the needs and capabilities of the MMR engine 103 and transmits a notification to the image processing module 304. In one embodiment, if the captured image is of such quality that it cannot be processed downstream by the image processing module 304 or the feature extraction module 306, the quality assessment module 302 transmits feedback to the user device 115 via the communication unit 340. The feedback, for example, includes an indication in the form of a sound or vibration that indicates that the image contains something that looks like text but is blurry and that the user should recapture the image. In another embodiment, the feedback includes commands that change parameters of the optics (for example, focal length, exposure, etc.) of the user device 115 to improve the quality of the image. In yet another embodiment, the feedback is specialized by the needs of a particular feature extraction algorithm used by the MMR engine 103.

In one embodiment, the quality assessment module 302 performs textual discrimination so as to, for example, pass through only images that are likely to contain recognizable text. Further, the quality assessment module 302 determines whether the image contains something that could be a part of a document. For example, an image patch that contains a non-document image (such as a desk or an outdoor view) indicates that a user is transitioning the view of the user device 115 to a new document.

The image processing module 304 is software and routines for modifying an image based on the needs of the MMR engine 103. In one embodiment, the image processing module 304 is a set of instructions executable by the processor 335 to provide the functionality described below for modifying an image. In another embodiment, the image processing module 304 is stored in the memory 337 and is accessible and executable by the processor 335. In either embodiment, the image processing module 304 is adapted for cooperation and communication with the processor 335, the quality assessment module 302, the feature extraction module 306 and other components of the MMR server 104 via signal line 344.

In one embodiment, the image processing module 304 receives a notification from the quality assessment module 302 and dynamically modifies the quality of the received image. Examples of types of image modification include sharpening, deskewing, binarization, blurring, etc. Such algorithms include many tunable parameters such as mask sizes, expected rotations, thresholds, etc. In another embodiment, the image processing module 304 dynamically modifies the image based on feedback received from the feature extraction module 306. For example, a user will point the user device 115 at the same location of a source document 118 for several seconds continuously. Given that, for example, the user device 115 processes 30 frames per second, the results of processing the first few frames in any sequence will be used to affect how the frames capture are later processed.

The feature extraction module 306 is software and routines for extracting features from an image. In one embodiment, the feature extraction module 306 is a set of instructions executable by the processor 335 to provide the functionality described below for extracting features. In another embodiment, the feature extraction module 306 is stored in the memory 337 and is accessible and executable by the processor 335. In either embodiment, the feature extraction module 306 is adapted for cooperation and communication with the processor 335, the quality assessment module 302, the image processing module 304, the retrieval module 308 and other components of the MMR server 104 via signal line 346.

The feature extraction module 306 converts the received image into a symbolic representation, extracts features and transmits them to the retrieval module 308. In one embodiment, the feature extraction module 306 locates characters, words, patches of text, images etc. and computes their bounding boxes. In another embodiment, the feature extraction module 306, determines two-dimensional relationships between different objects within the received image. In another embodiment, the feature extraction module 306 locates connected components and calculates descriptors for their shape. In another embodiment, the feature extraction module 306 extracts the font type and size of text in the image. In yet another embodiment, the feature extraction module 306 shares data about the results of feature extraction by providing feedback to other components of the MMR engine 103. Those skilled in the art will note that this significantly reduces computational requirements and improves accuracy by inhibiting the recognition of poor quality data. For example, a feature extraction module 306 that identifies word bounding boxes provides feedback to the image processing module 304 about the number of lines and words it found. If the number of words is too high (indicating, for example, that the received image is fragmented), the image processing module 304 produces blurrier images by applying a smoothing filter.

FIG. 4A shows an example of a word bounding box detection algorithm. The feature extraction module 306 computes a horizontal projection profile 412 of the received image 410. A threshold for line detection is chosen 416 by known adaptive thresholding or sliding window algorithms in such a way that the areas above threshold correspond to lines of text. The areas within each line are extracted and processed in a similar fashion 414 and 418 to locate areas above threshold that are indicative of words within lines. An example of the bounding boxes detected in one line of text is shown in 420.

In one embodiment, various features, such as Scale Invariant Feature Transform (SIFT) features, corner features, salient points, ascenders, descenders, word boundaries and spaces are extracted. In a further embodiment, groups are formed with the detected word boundaries as shown in FIG. 4B. In FIG. 4B, for example, vertical groups are formed in such a way that a word boundary has both above and below overlapping word boundaries and the total number of overlapping word boundaries is at least three (a person with ordinary skill in the art would recognize that the minimum number of overlapping word boundaries will differ in one or more embodiments). For example, a first feature point, (second word box in the second line, length of 6) has two word boundaries above (lengths of 5 and 7) and one word boundary below (length of 5). A second feature point, (fourth word box in the third line, length of 5) has two word boundaries above (lengths of 4 and 5) and two word boundaries below (lengths of 8 and 7). Thus as shown in FIG. 4B, the indicated features are represented with the length of the middle word boundary followed by the lengths of the above word boundaries and then by the lengths of the below word boundaries. Further, a person with ordinary skill in the art would recognize that the lengths of the word boxes may be based on any metric. Thus, it is possible to have alternate lengths for some word boxes. In such cases, features are extracted containing all or some of their alternatives.

In another embodiment, the feature extraction module 306 determines horizontal and vertical features of the received image. This is performed in view of the observation that an image of text contains two independent sources of information as to its identity—in addition to the horizontal sequence of words, the vertical layout of the words can also be used to identify an MMR object. For example, as shown in FIG. 4C, (1) a received image 430 with word bounding boxes is shown. Using the word bounding boxes, horizontal and vertical “n-grams” are determined. An n-gram is a sequence of n numbers each describing a quantity of some characteristic.

For example, a horizontal trigram specifies the number of characters in each word of a horizontal sequence of three words. For example, the received image, (2) shows horizontal trigrams: 5-8-7 (for the number of characters in each of the horizontally sequenced words “upper”, “division”, and “courses” in the first line of the received image 430); 7-3-5 (for the number of characters in each of the horizontally sequenced words “Project,” “has,” and “begun” in the second line of the received image 430); 3-5-3 (for the number of characters in each of the horizontally sequenced words “has,” “begun,” and “The” in the second line of the received image 430); and 3-3-6 (for the number of characters in each of the horizontally sequenced words “461,” “and,” and “permit” in the third line of the received image 430). Similarly, a vertical trigram specifies the number of characters in each word of a vertical sequence of words above and below a given word. For example, for the received image 430, (3) shows vertical trigrams: 5-7-3 (for the number of characters in each of the vertically sequenced words “upper”, “Project”, and “461”); and 8-7-3 (for the number of characters in each of the vertically sequenced words “division”, “Project”, and “461”).

In another embodiment, angles from each feature point to other feature points are computed. Alternatively, angles between groups of feature points are calculated. In yet another embodiment, features are extracted such that spaces are represented with 0s and word regions are represented with 1s. In yet another embodiment, the extracted features are based on the lengths of words. Each word is divided into estimated letters based on the word height and width. As the word line above and below a given word are scanned, a binary value is assigned to each of the estimated letters according to the space information in the lines above and below. The binary code is then represented with an integer number. For example, referring to FIG. 4D, it shows an arrangement of word boxes each representing a word detected in a captured image. The word 440 is divided into estimated letters. This feature is described with (1) the length of the word, (2) the text arrangement of the line above the word 440 and (3) the text arrangement of the line below the word 440. The text arrangement information is extracted from binary coding of the space information above or below the current estimated letter. In word 440, only the last estimated letter is above a space, the second and third estimated letters are below a space. Accordingly, the feature word 440 is coded as (6, 100111, 111110), where 0 means space and 1 means no space. Rewritten in integer form, word 440 is coded as (6, 39, 62). The extracted features are then transmitted to the retrieval module 308.

Turning back to FIG. 3, the retrieval module 308 is software and routines for receiving the extracted features of an image and retrieving an MMR object that contains the image. In one embodiment, the retrieval module 308 is a set of instructions executable by the processor 335 to provide the functionality described below for identifying an MMR object. In another embodiment, the retrieval module 308 is stored in the memory 337 and is accessible and executable by the processor 335. In either embodiment, the retrieval module 308 is adapted for cooperation and communication with the processor 335, the MMR database 105, the image processing module 304, the feature extraction module 306, the action module 310 and other components of the MMR server 104 via signal line 348.

The retrieval module 308, according to one embodiment, receives the features from the feature extraction module 306 and performs pattern matching to retrieve one or more MMR objects from the MMR database 105 that contain the received image. In a further embodiment, the retrieval module identifies and retrieves one or more pages of the MMR object and the x-y positions within those pages where the image occurs.

The retrieval module 308 uses one or more techniques for retrieving MMR objects such as a feed-forward technique, an interactive image analysis technique, a generate and test technique, a multiple classifier technique, a database-driven feedback technique, a database-driven classifier technique, a database-driven multiple classifier technique, a video sequence image accumulation technique, a video sequence feature accumulation technique, a video sequence decision combination technique, a multi-tier recognition technique, etc. The above mentioned retrieval techniques are disclosed in U.S. patent application Ser. No. 11/461,017, titled “System And Methods For Creation And Use Of A Mixed Media Environment,” filed Jul. 31, 2006; U.S. patent application Ser. No. 11/461,279, titled “Method And System For Image Matching In A Mixed Media Environment,” filed Jul. 31, 2006; U.S. patent application Ser. No. 11/461,286, titled “Method And System For Document Fingerprinting Matching In A Mixed Media Environment,” filed Jul. 31, 2006; U.S. patent application Ser. No. 11/461,294, titled “Method And System For Position-Based Image Matching In A Mixed Media Environment,” filed Jul. 31, 2006; U.S. patent application Ser. No. 11/461,300, titled “Method And System For Multi-Tier Image Matching In A Mixed Media Environment,” filed Jul. 31, 2006; U.S. patent application Ser. No. 11/461,147, titled “Data Organization and Access for Mixed Media Document System,” filed Jul. 31, 2006; U.S. patent application Ser. No. 11/461,164, titled “Database for Mixed Media Document System,” filed Jul. 31, 2006; U.S. patent application Ser. No. 11/461,109, titled “Searching Media Content For Objects Specified Using Identifiers,” filed Jul. 31, 2006; U.S. patent application Ser. No. 12/059,583, titled “Invisible Junction Feature Recognition For Document Security Or Annotation,” filed Mar. 31, 2008; U.S. patent application Ser. No. 12/121,275, titled “Web-Based Content Detection In Images, Extraction And Recognition,” filed May 15, 2008; U.S. patent application Ser. No. 11/776,510, titled “Invisible Junction Features For Patch Recognition,” filed Jul. 11, 2007; U.S. patent application Ser. No. 11/776,520, titled “Information Retrieval Using Invisible Junctions and Geometric Constraints,” filed Jul. 11, 2007; U.S. patent application Ser. No. 11/776,530, titled “Recognition And Tracking Using Invisible Junctions,” filed Jul. 11, 2007; and U.S. patent application Ser. No. 11/777,142, titled “Retrieving Documents By Converting Them to Synthetic Text,” filed Jul. 12, 2007; and U.S. patent application Ser. No. 11/624,466, titled “Synthetic Image and Video Generation From Ground Truth Data,” filed Jan. 18, 2007; which are each incorporated by reference in their entirety.

The action module 310 is software and routines for performing an action associated with the retrieved MMR object. In one embodiment, the action module 310 is a set of instructions executable by the processor 335 to provide the functionality described below for performing an action. In another embodiment, the action module 310 is stored in the memory 337 and is accessible and executable by the processor 335. In either embodiment, the action module 310 is adapted for cooperation and communication with the processor 335, the communication unit 340, the MMR database 105, the retrieval module 308 and other components of the MMR server 104 via signal line 350.

Once the retrieval module 308 identifies the MMR object, the page and the x-y location within the MMR object, the action module 310 performs one or more actions associated with it. The action is any action performable by the processor 335, such as retrieving data associated with the MMR object and/or data that is specifically linked to the x-y location (such as a video clip, a menu to be displayed on the user device, a product specification, metadata from the content management server 150, other MMR objects that are related to the MMR object identified by the retrieval module 308, etc.), retrieving information (such as text, images, etc.) around the identified x-y location, inserting data at the x-y location, accessing or transmitting a request to an external server or database (such as the social network server 101 to retrieve a conversation associated with the identified MMR object or the content management server 150 to retrieve metadata associated with the MMR object), etc. In one embodiment, the action module 310 transmits the retrieved MMR object to the social network server 101. The action module 310 communicates with the user device 115 and the external servers or databases via the communication unit 340.

Social Network Application 109

Referring now to FIG. 5, the social network application 109 is shown in more detail. FIG. 5 is a block diagram of a social network server 101 that includes the social network application 109, a processor 535, a memory 537, a communication unit 540 and storage 141. The processor 535, the memory 537, the communication unit 540 and the storage 141 are coupled to the bus 520 via signal lines 554, 552, 556 and 570, respectively.

Those skilled in the art will recognize that some of the components of the social network server 101 have the same or similar functionality to the components of the MMR server 104 so descriptions of these components will not be repeated here. For example, the processor 535, the memory 537 and the communication unit 540 have a similar functionality to the processor 335, the memory 337 and the communication unit 340 of FIG. 3, respectively.

The storage device 141, a non-transitory memory comprises discussion information 568 and user information 569. The discussion information 568 includes all information relating to conversations and discussion groups. For example, the discussion information 568 includes a list of conversations and discussion groups, discussion threads associated with the conversations and discussion groups, cluster groups, a list of users that have access to the conversations and discussion groups, comments and replies associated with the discussion threads, a time of the last activity within a discussion thread (which is later used to determine whether the group is still active), a list of MMR objects associated with a conversation thread or discussion group, proximity information, etc. The user information 569 includes the registered username, and password of all the users that registered with the social network application 109. In another embodiment, the user information 569 also includes social data about the user such as actions on one or more social networks and/or other information about the user (e.g., the user's gender, age, email address, education, past and present employers, geographic location, friends and the actions of the user's friends on one or more social networks). In another embodiment, the social data can be stored as a social graph in the user information 569.

In one embodiment, the social network application 109 comprises a conversation engine 502, a statistics manager 504, a registration module 506 and a user interface engine 508 that are coupled to the bus 520.

The conversation engine 502 is software including routines for managing a conversation or a discussion group. A conversation includes one or more discussion threads that are all associated with the same MMR object (i.e. the same source material). A discussion group includes discussion threads that are based on related source material or proximity. In one embodiment, the discussion group is based on a cluster, which identifies related source materials. In another embodiment, the discussion group is based on proximity metadata, namely proximity of location and proximity of the time of capturing an image. For ease of understanding, references to discussion threads include discussion threads that are part of a conversation or a discussion group. A discussion thread comprises an electronic image of the source material that corresponds to the MMR object that is captured by the user, a comment by the user on the matching MMR object and replies received from others users based on the comment.

In one embodiment, the conversation engine 502 is a set of instructions executable by the processor 535 to provide the functionality described below for initiating and/or retrieving conversations or discussion groups. In another embodiment, the conversation engine 502 is stored in the memory 537 and is accessible and executable by the processor 535. In either embodiment, the conversation engine 502 is adapted for cooperation and communication with the processor 535, the communication unit 540, storage 141, user interface engine 508 and other components of the social network server 101 via signal line 542.

According to one embodiment, the conversation engine 502 receives an MMR object and an identification of the user that captured an image corresponding to the MMR object from the MMR engine 103. In this embodiment, the MMR engine 103 identifies the MMR object by performing a visual search using an image received from the user device 115. Responsive to receiving the MMR object, the conversation engine 502 retrieves existing conversations or discussion groups associated with the MMR object from the discussion information 568 and/or initiates a new discussion thread for the MMR object. In another embodiment, the conversation engine 502 retrieves metadata associated with the MMR object 200 from the content management server 150. The conversation engine 502 provides the user with access to a conversation or discussion group by sending a notification including the retrieved discussion threads, conversations, newly created discussion thread, metadata, etc. to the user interface engine 508 for generating a user interface. The conversation engine 502 further receives comments, replies or indications of approval posted by a user 125 from the user device 115 and indexes them to their corresponding discussion threads or conversations in the discussion information 568. In one embodiment, the conversation engine 502 transmits the indexed information to the content management server 150, which stores the information as metadata that is associated with the MMR object.

In one embodiment, the conversation engine 502 also receives cluster group information from the content management server 150 and, if the discussion group already exists, provides the user with access to the discussion group. If the discussion group does not exist, the conversation engine 502 generates a discussion thread. In yet another embodiment, the conversation engine 502 compares user comments to the cluster groups and provides users with access to the corresponding discussion groups if the comments are similar to the cluster groups.

In another embodiment, the MMR object received by the conversation engine 502 includes proximity information for the user device 115 a. The proximity information comprises at least one of a location and a time at which the user device 115 a sends a request to the MMR server 104 to identify an MMR object. The conversation engine 502 retrieves existing discussion threads or discussion groups that are associated with the MMR object, based on the proximity information. For example, the conversation engine 502 retrieves discussion threads from the discussion information 568 that were initiated by other user devices 115 n within a certain time or located within a certain distance from the received proximity information. In another example, the conversation engine 502 retrieves discussion threads that are currently active and were initiated by other user devices 115 n located within a certain distance. If a discussion group does not already exist, the conversation engine 502 applies a comparison algorithm to determine similarity of discussion threads that are within a window of time or a radius of allowance for newly established discussion threads. The window of time is fixed, for example, three hours or 24 hours or the window adjusts dynamically according to the user activity, for example, an active community of users is clustered in a larger time window to avoid a fragmentation of the discussion group.

In one embodiment, the conversation engine 502 dynamically generates a discussion group that includes discussion threads based on the same or similar source material that share the same proximity information and stores them in the discussion information 568 to make their retrieval faster and efficient. In a further embodiment, the conversation engine 502 generates the discussion group based on user information and the social graph stored in the user information 569. For example, the conversation engine 502 groups the discussion threads that were initiated by users who are classmates.

In yet another embodiment, the conversation engine 502 controls access to certain discussion threads based on permissions. For example, a teacher is designated as an administrator and sets up permissions for the teaching assistants to view problem sets and answer keys, but limits student access to only discussion threads regarding problem sets and study groups. The permissions information is a subset of the access information that is stored as discussion information 568 in the storage 141.

The conversation engine 502 also monitors the discussion threads to remove inactive threads from a conversation or discussion group. In one embodiment, the conversation engine 502 removes or deactivates a discussion thread from a group after a certain amount of time (for example 2 hours, one day, etc.). In another embodiment, the conversation engine 502 removes a discussion thread from the group if there is no activity in the discussion thread for a certain amount of time.

The statistics manager 504 is software including routines for analyzing the popularity of source material and individual discussion threads based on the source material. In one embodiment, the statistics manager 504 is a set of instructions executable by the processor 535 to provide the functionality described below for tracking the popularity of discussion groups, conversations and source materials. In another embodiment, the statistics manager 504 is stored in the memory 537 and is accessible and executable by the processor 535. In either embodiment, the statistics manager 504 is adapted for cooperation and communication with the processor 535 and other components of the social network server 101 via signal line 544.

The discussion threads are formatted to receive likes and replies from users on the social network via the user interface. The statistics manager 504 stores the number of likes and replies received for each discussion thread as discussion information 568. In addition, the number of electronic images of the same source material, each used by different users to start a discussion thread is also stored as discussion information 568. In one embodiment, the statistics manager 504 tracks the statistics (number of likes and comments) for each conversation and discussion group. In another embodiment, the statistics manager 504 transmits the statistics corresponding to conversations and discussion groups in the form of spreadsheets to the user interface engine 508 for authors of the source materials to use for their own purposes.

The registration module 506 is software including routines for registering users on the social network server 101. In one embodiment, the registration module 506 is a set of instructions executable by the processor 535 to provide the functionality described below for registering users on the social network server 101. In another embodiment, the registration module 506 is stored in the memory 537 and is accessible and executable by the processor 535. In either embodiment, the registration module 506 is adapted for cooperation and communication with the processor 535 and other components of the social network server 101 via signal line 546.

The registration module 506 registers users on the social network server 101 with their chosen username and password and stores such information as user information 569 in the storage 141. In one embodiment, the users' email addresses serve as their usernames. The registration module 506 also places restrictions on the type of characters chosen for creating the password to protect the user information 569 on the social network server 101. When a registered user tries to login to the social network, the registration module 506 authenticates the entered username and password with the registered username and password. When the entered password fails to match the registered password in the user information 569, the registration module 506 requests the user's email address for sending an automated email for resetting the password. Persons of ordinary skill in the art will understand that there are other ways to establish a username, password and authentication steps.

The user interface engine 508 is software including routines for generating a user interface that displays a user profile, a conversation including discussion threads, a discussion group including discussion threads and an overview of all the social network application 109 features. In one embodiment, the user interface engine 508 is a set of instructions executable by the processor 535 to generate the user interface. In another embodiment, the user interface engine 508 is stored in the memory 537 of the social network server 101 and is accessible and executable by the processor 535. In either embodiment, the user interface engine 508 is adapted for cooperation and communication with the processor 535 and other components of the social network server 101 via signal line 548.

In one embodiment, responsive to a user requesting the user interface, the user interface engine 508 receives from the conversation engine 502 or retrieves from storage 141 the conversations and discussion groups that are associated with a user. The user interface engine 508 transmits the user interface to the access module 113 via the communication unit 540. The conversation includes all discussion threads related to the same source material. The discussion groups are grouped according to related source materials or proximity in time or location. In one embodiment, the discussion groups are further modified according to the permissions associated with the user. For example, a teacher has permission to see everything relating to the teacher's class, including problem sets, homework and test questions. A student, on the other hand, only has permission to view problem sets and study group information. In another example, the students create permissions for discussion threads relating to a study group and the students limit access to those discussion threads so that only active members of the study group obtain the material.

Creating Conversations and Discussion Threads

FIG. 6A is an example of a graphic representation of a user interface 600 displayed on a mobile device 102 such as a smart phone that was generated by the social network application 109. In this embodiment, the social network application 109 generates a user interface 600 after the user captures an electronic image of a source material. In this example, the social network application 109 is called BookSnap 604. The user interface 600 includes the identified source 602 of the source material as a thumbnail 613, links 606 that provide associated information relating to the source 602, social networking options that allow the user to make a comment 608 on the source 602, view conversation 610 about the source 602 and share content 612 about the source 602 on other social networking systems.

Selecting any button under the links 606 section causes the user interface 600 to display online information associated with the source 602. The links 606 are manually authored or dynamically authored by the content management engine 155. Selecting the make comment button 608 causes the user interface 600 to display a new section (not shown) for entering a statement or a question about the source 602. Selecting the view conversation button 610 causes the user interface 600 to display a conversation consolidating all existing discussion threads that refer to the same source 602. Persons of ordinary skill in the art will recognize that the user interface 600 can be modified to display a view discussion group icon for displaying all existing discussion threads that refer to a similar source and/or are within a threshold proximity. The small circle with a number 2 in it indicates that there are two discussions currently available about the source 602, in this example. Selecting the share content button 612 causes the user interface 600 to link other social networking systems to share user's discussion about the source 602.

FIG. 6B is a graphic representation of a registered user's view of the social network application 109 on a mobile device 102. In this example, a portion of an activity stream 612 is shown. The activity stream 612 lists the discussions associated with the user on various source materials on a single webpage. In this example, the first entry of the activity stream 612 shows an image 614 of the source material captured by the user, the title 616 of the source material, the profile photo 618 of the user who initiated the discussion thread with a comment 620 on the source material, 622 the number of people who liked the discussion thread, 624 the number of people who replied to the comment 620 and a conversation icon 626 that is a topic-based repository consolidating the discussion threads that refer to the same source material on a single webpage.

FIG. 6C is a graphic representation that is generated by the user interface engine 508 responsive to the user selecting the conversation icon 626 in from FIG. 6B on a mobile device 102. The conversation 627 lists similar discussions related to the source material in a table 628. Each row 630 in the table 628 is expandable to view comments and participate in the discussion on the same webpage. Each row 630 includes the image of the source material taken by the user, the original comment, the date and time, the discussion stats (number of likes and comments) and the discussion thread author. In addition, the conversation 627 lists 632 related links associated with the identified 615 thumbnail representation of the source material and conversation statistics 634 which list the number of likes, comments and snaps (i.e. discussion groups) that have been aggregated for the conversation 627.

FIG. 6D is a graphic representation of the registered user view of BookSnap that is generated for a device such as a desktop computer, a laptop or a tablet. In this example, a portion of the activity stream 650 for the user 638 is shown. The activity stream 650 lists the discussions associated with the user 638 on various source materials on a single webpage. In this example, the first entry of the activity stream 650 shows an image 640 of the source material captured by the user 638, the title 642 of the source material, the discussion thread author's profile photo 644 who initiated the discussion thread with a comment 646 on the source material and the identification 654 of people who liked the discussion thread, the identification 648 of people who replied to the comment 646 and a conversation 652 that is a topic-based repository consolidating the discussion threads that refer to the same source material on a single webpage.

FIG. 6E is another graphic representation of the conversation 652 from FIG. 6D for a device with a wider screen than a mobile device. The conversation 652 lists discussions related to the source material in a table 660. Each row 666 in the table 660 is expandable to view comments and participate in the discussion in the same webpage. Each row 666 includes the image of the source material taken by the user, the original comment, the date and time, the discussion stats (number of likes and comments) and the discussion thread author. In addition, the conversation 652 lists related links 664 associated with the identified thumbnail representation 662 of the source material and conversation statistics 668 that include the number of likes, comments and snaps that are aggregated for the conversation 652.

FIG. 6F is a graphic representation of a discussion group 680 for a device with a wider screen than a mobile device. In this example the source materials 670 are related source materials that include a textbook 672 for the class, a related book 673 with a different solution to a problem discussed in class and class notes 674. The snap column illustrates the image captured by the access module 113 in the user device 115. The user in this example obtains access to the discussion group 680 by capturing any of these images because they are all part of the same cluster.

Methods

Referring now to FIGS. 7-11, the methods of the present embodiment of invention will be described in more detail. FIG. 7 is a flow diagram 700 that illustrates one embodiment of a method for generating a conversation. The MMR server 104 includes an MMR database 105 that indexes 702 a plurality of MMR objects based on a source material. The content management server 150 includes a content management engine 155 that generates 704 and stores metadata relating to the MMR objects in the metadata database 160. In one embodiment, the metadata is generated during an offline process and includes an image of the source material, a name of the source material and tags that describe the source material. In another embodiment, the metadata is updated with information from the social network server 101, such as comments associated with the MMR object.

The MMR server 104 receives 706 an image of a source document from an access module 113 that is stored on a user device 115. The image can be taken from a printed source document or an electronic image. The quality assessment module 302 determines whether the quality of the image is sufficient for identifying the corresponding MMR object. The image processing module 304 dynamically modifies the quality of the received image. The feature extraction module 306 performs 708 a visual search using the image to identify a matching MMR object from the MMR database 105 by performing feature extraction. The retrieval module 308 determines 710 whether the recognition is successful. If the recognition is successful the retrieval module 308 retrieves the MMR object. If the recognition is unsuccessful the retrieval module 308 receives 712 another image from the user device 115 and moves to step 708. The retrieval is unsuccessful if, for example, the quality of the image is too poor to properly extract features from the image. [0101] Responsive to a successful recognition, the action module 310 transmits the MMR object to the social network application 109 via the communication unit 340. The social network application 109 includes a conversation engine 502 that determines 714 whether a conversation exists that corresponds to the MMR object. If not, the conversation engine 502 creates 716 a discussion thread corresponding to the matching MMR object, the discussion thread including a related link. As a result, the conversation includes a single discussion thread. If the conversation does exist, the conversation engine 502 grants 718 the user device 115 a access to the discussion group. In one embodiment, the conversation engine 502 instructs the user interface engine 508 to generate a user interface that includes an option for the user to join the conversation. The user interface engine 508 transmits the user interface to the access module 113 on the user device 115 a via the communication unit 540.

FIG. 8 is a flow diagram 800 that illustrates one embodiment of a method for interacting with the user interface. In one embodiment, FIG. 8 is a continuation of step 718 in FIG. 7. The conversation engine 502 associates 802 the user with a conversation and stores the association as discussion information 568 in storage 141. The user interface engine 508 generates 804 a user interface that includes at least one of an image of the source material (e.g. a thumbnail), related links and a mechanism for enabling comments (e.g. a button or a lever). In response to user input, the conversation engine 502 optionally starts 806 a new discussion thread and associates the discussion thread with the conversation. Discussion threads include, for example, a discussion of the latest reading assignment, a problem set, a take home test or user tests for a teaching assistant to grade. The user interface engine 508 generates 808 a user interface that displays all conversation associated with a user. The statistics manager 504 generates 810 statistics that are associated with the conversation. The statistics are displayed in a user interface that is generated by the user interface engine 508. The user interface engine 508 receives 812 metadata relating to the MMR object from the user. The metadata includes, for example, comments on a discussion thread and a time that the comment was made. The timing is used by the conversation engine 502 to determine whether a discussion thread is still active. The user interface engine 508 transmits the metadata to the content management engine 155 via the communication unit 540. The content management engine 155 adds 814 the metadata to the metadata database 160.

FIG. 9A is a flow diagram 900 of one embodiment of a method for generating a cluster of MMR objects using agglomerative clustering. The MMR database 105 indexes 902 a first MMR object corresponding to a first source material. The MMR database 105 indexes 904 a second MMR object corresponding to a second source material. The content management engine 155 retrieves 906 metadata associated with the first and the second MMR objects from the metadata database 160. The retrieved metadata includes information about the first and second MMR objects and information about the ways in which users interact with the first and second MMR objects from the social network server 101 if available. The content management engine 155 determines 908 whether the first MMR object is related to the second MMR object by applying one or more clustering algorithms to the retrieved metadata. The content management engine 155 generates 910 a cluster including the first and the second MMR objects responsive to determining that the first MMR object is related to the second MMR object. The agglomerative clustering method is helpful for updating the metadata database 160 with clusters. For example, each semester new books are added and the clusters need to be updated within the existing categories based on their metadata.

In one embodiment, the clustering algorithm generates a cluster with at least one of the following characteristics: a similarity vector that defines the uniqueness in the cluster pool (e.g. a cluster centroid in k-means), MMR objects, a state of the discussion group (active or non-active), metadata (comments, links, PDFs, chats and user connections) and a list of the users that have access to the resulting discussion group.

FIG. 9B is a flow diagram 950 of another embodiment of a method for generating a cluster of MMR objects using non-agglomerative clustering. The content management engine 155 determines 952 the number of clusters of MMR objects to be generated as k-clusters. The content management engine 155 then selects 954 k-MMR objects from the MMR database 105 as the centroids for each of the k-clusters. A person with ordinary skill in the art would recognize that the number of clusters and the centroids can be either automatically (randomly or according to a pre-determined number) selected or manually selected. The content management engine 155 retrieves 956 the metadata associated with each of the k-centroid MMR objects from the metadata database 160. The content management engine 155 also retrieves 958 the metadata associated with each of the MMR objects remaining (i.e., all the MMR objects apart from the k-centroid MMR objects) in the MMR database 105. The content management engine 155 then computes 960 a similarity vector for each of the remaining MMR objects by comparing their metadata with the metadata of each of the k-centroid MMR objects. The content management engine 155 generates 962 k-clusters of MMR objects based on the similarity vector. For example, the content management engine 155, based on the similarity vector, clusters an MMR object with the most similar centroid MMR object. The content management engine 155 computes 964 a new centroid MMR object as a barycenter for each of the k-clusters of MMR objects. The content management engine 155 then computes 966 a new similarity vector based on the new k-centroid MMR objects similar to step 960. The content management engine 155 generates 968 new k-clusters of MMR objects based on the new similarity vector similar to step 962. The content management engine 155 then compares the new k-cluster of MMR objects with the previously generated k-cluster of MMR objects to determine 970 if any MMR object has moved from one cluster to another cluster. Responsive to determining that an MMR object has moved from one cluster to another, the content management engine 155 repeats steps 964-960.

FIG. 10 is a flow diagram 1000 of one embodiment of a method for granting a user device 115 access to a discussion group based on a cluster. The MMR engine 103 receives 1002 an image from a user device 115. In one embodiment, the MMR engine 103 receives the image from an access module 113 on the user device 115 a. The MMR engine 103 performs 1004 a visual search using the image to retrieve an MMR object from the MMR database 105. The MMR engine 103 identifies 1006 a cluster that includes the retrieved MMR object from the MMR database 105. The MMR engine 103 then transmits 1008 a reference of the cluster to the social network server 101. The conversation engine 502 receives the reference and identifies 1010 a discussion group associated with the cluster from the discussion information 568. The conversation engine 502 then grants 1012 the user device 115 access to the discussion group. In one embodiment, the user interface engine 508 transmits a notification to the access module 113 via the communication unit 540 inviting the user to join the discussion group.

FIG. 11 is a flow diagram 1100 of one embodiment of a method for granting a user device 115 access to a discussion thread based on proximity information. The MMR engine 103 receives 1102 an image and proximity information from a user device 115. In one embodiment, the MMR engine 103 receives the image and proximity information from an access module 113 on the user device 115 a. The proximity information includes the location of the user device 115 and the time at which the image was captured with the user device 115. The MMR engine 103 performs 1104 a visual search using the image to retrieve an MMR object from the MMR database 105. The MMR engine 103 then transmits 1106 the proximity information and a reference of the MMR object to the social network server 101. The conversation engine 502 analyzes 1108 the proximity information and determines 1110 whether a discussion group exists as the discussion information 568 based on the analysis and the MMR object. For example, the conversation engine 502 determines whether a discussion group that was initiated by another user device 115 from the same location and within a given time frame of the received time information, exists as discussion information 568. Responsive to determining that a discussion group does not exist, the conversation engine 502 generates 1112 a new discussion group for the MMR object. The conversation engine 502 also grants 1114 the user device 115 access to the new discussion group. Responsive to determining that a discussion thread exists, the conversation engine 502 grants 1116 the user device 115 access to the existing discussion thread. In one embodiment, the user interface engine 508 transmits a notification to the access module 113 via the communication unit 540 inviting the user to join the discussion group.

The foregoing description of the embodiments has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the specification to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the embodiments be limited not by this detailed description, but rather by the claims of this application. As will be understood by those familiar with the art, the examples may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. Likewise, the particular naming and division of the modules, routines, features, attributes, methodologies and other aspects are not mandatory or significant, and the mechanisms that implement the description or its features may have different names, divisions and/or formats. Furthermore, as will be apparent to one of ordinary skill in the relevant art, the modules, routines, features, attributes, methodologies and other aspects of the specification can be implemented as software, hardware, firmware or any combination of the three. Also, wherever a component, an example of which is a module, of the specification is implemented as software, the component can be implemented as a standalone program, as part of a larger program, as a plurality of separate programs, as a statically or dynamically linked library, as a kernel loadable module, as a device driver, and/or in every and any other way known now or in the future to those of ordinary skill in the art of computer programming. Additionally, the specification is in no way limited to implementation in any specific programming language, or for any specific operating system or environment. Accordingly, the disclosure is intended to be illustrative, but not limiting, of the scope of the specification, which is set forth in the following claims. 

1. A method for providing access to a discussion group in a social network based on different electronic images comprising: receiving a first electronic image from a first user device; performing a first visual search using the first electronic image to identify a first mixed media reality (MMR) object corresponding to a first source material; identifying the discussion group associated with a cluster that includes the first MMR object and a second MMR object, the second MMR object corresponding to a second source material; and providing the first user device with access to the discussion group.
 2. The method of claim 1, further comprising: receiving a second electronic image from a second user device, the second electronic image being different from the first electronic image; performing a second visual search using the second electronic image to identify the second MMR object; and providing the second user device with access to the discussion group.
 3. The method of claim 1, wherein before the first electronic image is received further comprising: indexing the first mixed media reality (MMR) object and the second MMR object; and generating the cluster that includes the first MMR object and the second MMR object based on a similarity of the first and second source materials.
 4. The method of claim 3, wherein the cluster is generated by using agglomerative clustering.
 5. The method of claim 1, wherein the discussion group comprises a plurality of conversations.
 6. The method of claim 1, further comprising: receiving a comment from a second user; comparing the comment to the discussion group; and granting the second user access to the discussion group based on a relationship between the comment and the discussion group.
 7. The method of claim 1, further comprising: tracking a time of adding content to the discussion group; and removing a member of the discussion group based on the time that elapsed since the content was added to the discussion group.
 8. The method of claim 3, wherein the cluster is a plurality of clusters and further comprising: determining a number of the plurality of clusters to be generated as k-clusters; selecting a centroid MMR object from an MMR database for each of the k-clusters; computing a similarity vector between the centroid MMR object's metadata and the other MMR objects' metadata in the MMR database; and generating the k-clusters of MMR objects based on the similarity vector.
 9. A system for providing access to a discussion group in a social network based on different electronic images comprising: a mixed media reality (MMR) engine receiving a first electronic image from a first user device and performing a first visual search using the first electronic image to identify a first MMR object corresponding to a first source material; and a social network application coupled to the MMR engine, the social network application identifying a discussion group associated with a cluster that includes the first MMR object and a second MMR object corresponding to a second source material and providing the first user device with access to the discussion group.
 10. The system of claim 9, wherein the MMR engine receives a second electronic image from a second user device, the second electronic image being different from the first electronic image and performs a second visual search using the second electronic image to identify the second MMR object; and wherein the social network application provides the second user device with access to the discussion group.
 11. The system of claim 9, further comprising: a mixed media reality (MMR) database indexing the first MMR object and the second MMR object; and a content management engine coupled to the MMR database, the content management engine generating the cluster that includes the first MMR object and the second MMR object based on a similarity of the first and second source materials.
 12. The system of claim 11, wherein content management engine generates the cluster by using agglomerative clustering.
 13. The system of claim 9, wherein the discussion group comprises a plurality of conversations.
 14. The system of claim 9, wherein the social network application receives a comment from a second user, compares the comment to the discussion group and grants the second user access to the discussion group based on a relationship between the comment and the discussion group.
 15. The system of claim 9, wherein the social network application tracks a time of adding content to the discussion group and removes a member of the discussion group based on the time that elapsed since the content was added to the discussion group.
 16. The system of claim 11, wherein the cluster is a plurality of clusters and wherein the content management engine determines a number of the plurality of clusters to be generated as k-clusters, selects a centroid MMR object from the MMR database for each of the k-cluster, computes a similarity vector between the centroid MMR object's metadata and the other MMR objects metadata in the MMR database and generates the k-clusters of MMR objects based on the similarity vector.
 17. A computer program product comprising a computer useable medium including a computer readable program, wherein the computer readable program when executed on a computer causes the computer to: receive a first electronic image from a first user device; perform a first visual search using the first electronic image to identify a first mixed media reality (MMR) object corresponding to a first source material; identify the discussion group associated with the cluster that includes the first MMR object and a second MMR object, the second MMR object corresponding to a second source material; and provide the first user device with access to the discussion group.
 18. The computer program product of claim 17, further comprising: receiving a second electronic image from a second user device, the second electronic image being different from the first electronic image; performing a second visual search using the second electronic image to identify the second MMR object; and providing the second user device with access to the discussion group.
 19. The computer program product of claim 18, wherein before the first electronic image is received further comprising: indexing the first mixed media reality (MMR) object and the second MMR object, the first MMR object and the second MMR object each corresponding to a source material; and generate the cluster that includes the first MMR object and the second MMR object based on a similarity of the first and second source materials.
 20. The computer program product of claim 19, wherein the cluster is generated by using agglomerative clustering. 